package ysm.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import ysm.entity.Codetable;

@Component
@Mapper
public interface CodetableMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Codetable record);

    int insertSelective(Codetable record);

    Codetable selectByPrimaryKey(Integer id);
    
    Codetable selectByname(String name);

    int updateByPrimaryKeySelective(Codetable record);

    int updateByPrimaryKey(Codetable record);
}